
package com.cmc.service;

import java.util.List;

import com.cmc.service.Manager;
import com.cmc.model.EmpWorkCalendar;
import com.cmc.dao.EmpWorkCalendarDao;

public interface EmpWorkCalendarManager extends Manager {
    /**
     * Retrieves all of the empWorkCalendars
     */
    public List getEmpWorkCalendars(EmpWorkCalendar empWorkCalendar);

    /**
     * Gets empWorkCalendar's information based on id.
     * @param id the empWorkCalendar's id
     * @return empWorkCalendar populated empWorkCalendar object
     */
    public EmpWorkCalendar getEmpWorkCalendar(final String id);

    /**
     * Saves a empWorkCalendar's information
     * @param empWorkCalendar the object to be saved
     */
    public void saveEmpWorkCalendar(EmpWorkCalendar empWorkCalendar);

    /**
     * Removes a empWorkCalendar from the database by id
     * @param id the empWorkCalendar's id
     */
    public void removeEmpWorkCalendar(final String id);
    
    public List getEmpWorkCalendarsByStartEndDateWorkTypeId(final String empno, final String startdate, final String enddate, final String worktypeid);
    
    public List getEmpWorkCalendarsByStartEndDate(final String empno, final String startdate, final String enddate);  	  

}

